/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package TestUnits;

import javax.microedition.midlet.*;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;

public class MoverImagen extends MIDlet {
    private Imagen panCanvas;
    private Display pantalla;
public MoverImagen(){
    pantalla = Display.getDisplay(this);
    panCanvas = new Imagen(this);
}
public void startApp() {
    pantalla.setCurrent(panCanvas);
}
public void pauseApp() {
}
public void destroyApp(boolean uncond) {
}
public void salir(){
    destroyApp(false);
    notifyDestroyed();
}
}
